package com.clouddemo.service.Impl;

import com.clouddemo.dao.TabUsersDao;
import com.clouddemo.entities.TabUsers;
import com.clouddemo.service.TabUsersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TabUsersServiceImpl implements TabUsersService {

    @Resource
    private TabUsersDao dao;

    @Override
    public List<TabUsers> findall() {
        return dao.findall();
    }

    @Override
    public boolean save(TabUsers u) {
        return dao.save(u);
    }
}
